package com.czh.mock.exceptions.code;

public enum SystemEnum implements IErrorCodeEnum {

    ERR(-1, "系统错误"),
    OK(0, "正常"),
    ;
    private final int code;
    private final String message;

    SystemEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
